﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebGioiThieu.AppConstants;

namespace WebGioiThieu.Models
{   
    public partial class IntroductionWebDBEntities
    {
        public static IntroductionWebDBEntities Instance
        {
            get { return new IntroductionWebDBEntities(); }
        }
    }
    public partial class Tour
    {

    }
    public partial class MenuItem
    {
        public string NiceUrl
        {
            get
            {
                if (string.IsNullOrEmpty(LienKet))
                {
                    string type = string.Empty;
                    if (IsTour)
                        type = Appconstant.MenuType_Tour;
                    else
                        type = Appconstant.MenuType_Article;

                    return String.Format("/{0}/{1}/", BiDanh, type);
                }
                return String.Format("/{0}/", LienKet);
            }
        }
    }
    public partial class aspnet_Roles
    {
        public bool IsSelect { get; set; }
    }
}